//
//  HeaderView.m
//  Bettle
//
//  Created by jackli on 2017/1/10.
//  Copyright © 2017年 panhongliu. All rights reserved.
//

#import "HeaderView.h"

@implementation HeaderView

+(instancetype)initHeaderView
{
    return [[[NSBundle mainBundle]loadNibNamed:NSStringFromClass(self) owner:nil options:nil]lastObject];
}
-(void)setDictionary:(NSDictionary *)dictionary{
     _dictionary = dictionary;
    UIImageView *imageview  = (UIImageView *)[self viewWithTag:10];
    UILabel *lable  = (UILabel *)[self viewWithTag:11];

   // [imageview sd_setImageWithURL:dictionary[@"portraitUrl"]];
    self.singnLabel.text = dictionary[@"signature"];
        self.nameLable.text=dictionary[@"signature"];

    
    
}
@end
